package com.bdqn.membersystem.servicce.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.bdqn.membersystem.pojo.Information;
import java.util.List;
import com.bdqn.membersystem.mapper.InformationMapper;
import com.bdqn.membersystem.servicce.InformationService;
@Service
public class InformationServiceImpl implements InformationService{

    @Resource
    private InformationMapper informationMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return informationMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insertSelective(Information record) {
        return informationMapper.insertSelective(record);
    }

    @Override
    public Information selectByPrimaryKey(Long id) {
        return informationMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Information record) {
        return informationMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateBatch(List<Information> list) {
        return informationMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<Information> list) {
        return informationMapper.batchInsert(list);
    }

    @Override
    public int insertOrUpdate(Information record) {
        return informationMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(Information record) {
        return informationMapper.insertOrUpdateSelective(record);
    }

}
